package formes;

import java.awt.Graphics;
import java.awt.Point;

public abstract class Forme
{
    private String type;
    private int id;
    private Point point1;

    public abstract void draw(Graphics g);
    
    public abstract double calculAire();
    
    public abstract double calculLigne();


	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Point getPoint1() {
		return point1;
	}

	public void setPoint1(Point point1) {
		this.point1 = point1;
	}
}
